<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    Integer count = (Integer)application.getAttribute("count");
    if (count==null){
        count=1;
    }else{
        count++;
    }
    application.setAttribute("count",count);
    response.sendRedirect("show.jsp");
%>